From: Sebastian Keller Date: Wed, 3 May 2023 10:04:00 +0000 (+0200) Subject: style: Scale calendar heading with font size X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~74 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ec56278cbcf668df17ce5becb6254a52c7b42bbb;p=gnome-shell.git style: Scale calendar heading with font size Using a fixed pixel size can result in the cell being too small for the contained label. Instead use em to scale with the font size like is done for the other cells. The chosen size corresponds to 16px with the default font settings. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6651 Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss b/data/theme/gnome-shell-sass/widgets/_calendar.scss index 393221627..2a6aec8a9 100644 --- a/data/theme/gnome-shell-sass/widgets/_calendar.scss +++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss @@ -94,7 +94,7 @@ &.calendar-day-heading { color: $insensitive_fg_color; padding-top: $base_padding; - height: 16px !important; // force heading to be smaller height + height: 1.1em !important; // force heading to be smaller height font-weight: 600; @extend %smaller; }